package com.qkst.website.web.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.qkst.website.backstage.bean.CatalogBean;
import com.qkst.website.backstage.mapper.CatalogMapper;
import com.qkst.website.web.service.CatalogService;
/**
 * @author lh
 * @description 产品目销售目录service 业务处理层
 * @date 2017-06-12
 * @email ahlxlihao@163.com
 *
 */
@Service("webCatalogService")
@Transactional
public class CatalogServiceImpl implements CatalogService {
	@Autowired
	private CatalogMapper catalogMapper;

	/**
	 * 获取销售目录
	 * @param catalog
	 * @return List<CatalogBean>
	 */
	
	@Override
	public List<CatalogBean> list(CatalogBean catalog) {
		return catalogMapper.queryAllCatalogs(catalog);
	}

}
